home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 7 / Apprentice-Release7.iso / Source Code / Libraries / Aidan's Class Libraries / Source / Headers / CLOffscreen.h < prev    next >
Encoding:
Text File  |  1997-05-25  |  660 b   |  31 lines  |  [TEXT/CWIE]

  1. //Copyright (c) 1997 Aidan Cully
  2. //All rights reserved
  3.  
  4. #ifndef __OFFSCREEN_H
  5. #define __OFFSCREEN_H
  6.  
  7. #include <QDOffScreen.h>
  8. #include "CLBaseWindow.h"
  9.  
  10. class TOffScreen:
  11.     public virtual TBaseWindow
  12. {
  13. private:
  14.     GWorldPtr mhOldWorld;
  15.     GDHandle mhOldDevice;
  16.     PixMapHandle mhPixMap;
  17. protected:
  18.     GWorldPtr mWorld;
  19.     virtual SInt8 RespondResizeSelf( const Rect &, const Rect & );
  20.     virtual Boolean GetDrawSelf();
  21.     virtual Boolean ReleaseDrawSelf();
  22. public:
  23.     TOffScreen( SInt16, TWindowLayer*, TLayoutLeaf* );
  24.     virtual SInt8 DoUpdate();
  25.     virtual SInt8 DoShowWindow();
  26.     virtual SInt8 DoHideWindow();
  27.     virtual ~TOffScreen();
  28.     virtual void MarkChanged( Rect );
  29. };
  30.  
  31. #endif